<seed-content>
  <seed-toolbar-header>
    <seed-toolbar-title>我的资讯</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <seed-infinite-scroll (infiniteScroll)="getInfo()">
    <div class="seed-info-cate" *ngIf="info.length>0">

      <!--    <seed-badges  [articles]="tools.setArray(articles | async)" *ngIf="!noInfo"></seed-badges>-->
      <div class="sharing-item" *ngFor="let item of info">
        <!--图文一张图-->
        <one-pic-item *ngIf="item.coverUrl?.length==1" [itemData]="item" (onclick)="goToTarget($event)"></one-pic-item>
        <!--图文无图或三张图-->
        <third-pic-item *ngIf="item.coverUrl?.length!==1" [itemData]="item"  (onclick)="goToTarget($event)"></third-pic-item>
      </div>
    </div>
    <seed-default-graph *ngIf="!stateStore.haveData" [text]="'暂无资讯'" [url]="'unifyPic'"></seed-default-graph>
    <seed-infinite-scroll-content *ngIf="info.length>0"></seed-infinite-scroll-content>
  </seed-infinite-scroll>
</seed-content>
